//
//  ChannelComponent.h
//  ChannelCommonComponent
//
//  Created by LiuLian on 14-2-18.
//  Copyright (c) 2014年 LiuLian. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ChannnelTopScrollView.h"
#import "ChannnelControllerScrollView.h"

@interface ChannelComponent : NSObject

+ (ChannnelTopScrollView *)onlyTopScrollView;
+ (ChannnelControllerScrollView *)onlyControllerScrollView;

+ (NSInteger)currentIndex;
+ (NSDictionary *)currentDictionaryWithIndex:(NSInteger)index;

+ (void)updateButtonStateWithTag:(NSInteger)tag;
+ (void)updateDataSource;
+ (void)updateDataSourceWithInCurrent;
+ (void)updateSourceWithController:(UIViewController *)controller
                         WithIndex:(NSInteger)index
                  WithVisibleState:(ScrollViewVisibleState)state
                     WithIsCurrent:(BOOL)isCurrent;
+ (BOOL)getDirection;
+ (void)colorGradientWithWillBlackTag:(NSInteger)black WithWillRedTag:(NSInteger)red WithNumber:(NSInteger)number;
//渐变
+ (void)clearTitleWithTag:(NSInteger)tag;

//参数加状态

@end
